package com.ys.entity.advanced;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="[kjecp_advert].[dbo].ADS_Report_Log", catalog="Id")
public class AdsReportLog extends BaseEntity<AdsReportLog> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="ReportId", nameJava="reportId", typeDataBase="varchar")
	private String reportId;
	@YsField(nameDataBase="ProfileId", nameJava="profileId", typeDataBase="varchar")
	private String profileId;
	@YsField(nameDataBase="Date", nameJava="date", typeDataBase="varchar")
	private String date;
	@YsField(nameDataBase="ShopId", nameJava="shopId", typeDataBase="varchar")
	private String shopId;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="ReportType", nameJava="reportType", typeDataBase="int")
	private Integer reportType;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public AdsReportLog setId(Long id) {
		this.id = id;
		return this;
	}
	public String getReportId() {
		return reportId;
	}
	public AdsReportLog setReportId(String reportId) {
		this.reportId = reportId;
		return this;
	}
	public String getProfileId() {
		return profileId;
	}
	public AdsReportLog setProfileId(String profileId) {
		this.profileId = profileId;
		return this;
	}
	public String getDate() {
		return date;
	}
	public AdsReportLog setDate(String date) {
		this.date = date;
		return this;
	}
	public String getShopId() {
		return shopId;
	}
	public AdsReportLog setShopId(String shopId) {
		this.shopId = shopId;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public AdsReportLog setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public Integer getReportType() {
		return reportType;
	}
	public AdsReportLog setReportType(Integer reportType) {
		this.reportType = reportType;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public AdsReportLog setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public AdsReportLog setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public AdsReportLog setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static AdsReportLog adsReportLog(
		String reportId,
		String profileId,
		String date,
		String shopId,
		String shopName,
		Integer reportType,
		Integer status
			) {
		AdsReportLog entity = new AdsReportLog();
		entity.setReportId(reportId);
		entity.setProfileId(profileId);
		entity.setDate(date);
		entity.setShopId(shopId);
		entity.setShopName(shopName);
		entity.setReportType(reportType);
		entity.setStatus(status);
		return entity;
	}
}